package com.itheima.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.dto.OrderDto;
import com.itheima.entity.Orders;

public interface OrderService extends IService<Orders> {

    /**
     * 用户下单
     *
     * @param orders
     */
    public void submit(Orders orders);

    /**
     * 前台用户查询历史订单信息
     * @param page
     * @param pageSize
     */
    public Page<OrderDto> queryOrderPage(int page, int pageSize);
}
